From 1a4de8d213cf5189bc57edd32827f5c6fefbba5c Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Sat, 11 Mar 2023 10:30:39 -0500 Subject: android: Convert Action1 to Kotlin --- src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java | 5 ----- src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.kt | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java create mode 100644 src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.kt diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java deleted file mode 100644 index 2d99138f7..000000000 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.java +++ /dev/null @@ -1,5 +0,0 @@ -package org.yuzu.yuzu_emu.utils; - -public interface Action1 { - void call(T t); -} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.kt new file mode 100644 index 000000000..70cc1f73b --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/Action1.kt @@ -0,0 +1,5 @@ +package org.yuzu.yuzu_emu.utils + +interface Action1 { + fun call(t: T?) +} -- cgit v1.2.3